package com.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * park
 * @author 
 */
@Data
public class Park implements Serializable {
    private Integer id;

    private String parkcode;

    private String parktype;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createtime;

    private Integer plotid;

    private Plot plot;

    /*车位集合*/
    private List<Parkinglot> parkinglots;

    private List<Startstop> startstopList;

   /* private List<Startstopself> startstopselfList;*/
    private static final long serialVersionUID = 1L;
}